• 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
返回

电子发烧友 电子发烧友

  • 全文搜索
    • 全文搜索
    • 标题搜索
  • 全部时间
    • 全部时间
    • 1小时内
    • 1天内
    • 1周内
    • 1个月内
  • 默认排序
    • 默认排序
    • 按时间排序
  • 全部板块
    • 全部板块
大家还在搜
  • 在5746R中使用LINFLEXD_UART_DRV_ReceiveData函数,运行到断点时收不到任何数据的原因?

    如果我在5746R中使用LINFLEXD_UART_DRV_ReceiveData函数会出现问题,第一次运行到断点时收不到任何数据,如果继续运行,TX bfr中的数据顺序是错误的(图1 2 3)。请告诉我如何弄清楚它,谢谢。

    2023-06-09 07:29

  • 高频三极管放大电路输入正弦波信号幅度衰减的非常厉害

    我按照模拟电路书上的例题做了一个放大电路的验证电路,要放大的信号频率为100M。三极管选用的是BFR93A,为6G的高频三极管,hfe的典型值为90。实验时输入的是正弦波信号,但输出信号在频率较低

    2018-11-28 09:39

  • 怎样解决UDESTK对SPC584B70E3编程失败的问题呢

    ::PFLASH, Failed to download driver section 0x400A8000-0x400A900BFr 06.08.2021 10:46:30.433, Error, Core2

    2022-12-26 09:00

  • 将3位prbs的o/p链接到串行器并最终链接到解串器时,结果不正确

    模块crcc(clk,reset,prbs,dout1,doutx);输出[2:0] doutx; reg [2:0] doutx;输出reg dout1;输入clk;电线clk;输入复位;电线复位;输出[2:0] prbs; reg [2:0] t; reg [2:0] s;整数j;整数; // 3位prbs生成器始终@(posedge(clk))如果(reset == 1)则s开始s [2] s [1] s [0] end end assign prbs = s; //连接到串行器(并行到串行转换器)的prbs的输出总是@(posedge(clk))开始于(j ​​= 2; j> = 0; j = j-1)开始dout1 = prbs [j];结束端//连接到解串器的串​​行器的O / P(串行端口并行转换器总是@(posedge(clk))如果(reset == 1)开始t count count else else if(count t count end else if if(count ==) 3)开始doutx count t end end endmodule // TEST BENCH模块crcc_tb; // Inputsreg clk; reg reset; // Outputswire [2:0] prbs; wire [2:0] doutx; wire dout1; //实例化单元Under Test(UUT)crcc uut(.clk(clk),. reset(reset),。dout1(dout1),。doutx(doutx),. prbs(prbs)); 初始开始//初始化Inputsclk = 1'b0;永远#10 clk = ~clk; endinitial begin reset = 1'b1; #12 reset = 1'b0; endendmodule

    2020-04-03 07:47

  • LMK04828-EP脉冲输出异常的原因?怎么解决?

    )0x000090R00x000004R20x000200R30x000306R40x0004D0R50x00055BR60x000600R120x000C51R130x000D04R2560x010004R2570x010155R2580x010255R2590x010305R2600x010422R2610x010500R2620x010670R2630

    2024-11-11 06:00

  • 有关发光二极管NCL30000的基本知识点都在这里

    NCL30000是什么?NCL30000有哪些特点?NCL30000具备的功能有哪些?NCL30000的典型应用包括哪些?

    2021-07-30 07:37

  • 请问怎样去设计一种基于Realtek的蓝牙胆石机音响?

    蓝牙胆石机音响指的是什么?蓝牙胆石机音响有哪些核心技术优势?蓝牙胆石机音响的方案规格是什么?

    2021-07-09 06:36

  • 双边计数器无法在Spartan上工作

    我正在尝试实现一个verilog代码,用于计算时钟的转换(ei:正向和负向转换)。以下verilog代码使用由“dualedgeregister”模块实现的双边沿寄存器。我使用其中的8个“ dualedgeregister“实现一个8位双边沿寄存器计数器; 8位双边沿寄存器计数器的输出通过模块“main”的输出显示在8个LED上。问题是当我在我的开发板上运行此代码时,只有双边的3个最低有效位 - 寄存器正确存储计数,而计数器的其余5个最高有效位保持随机值或卡在0值;我可以通过显示8个双边沿寄存器的输出的8个LED来判断双边沿寄存器的每个位的状态。我在Spartan-3E和Spartan-6上尝试了这个代码,结果相同,即使双寄存器的时钟频率非常慢,也请帮忙!-------------------------------- -------------------------------------------------- --------------- module dualedgeregister(clk,datain,dataout);输入clk;输入数据;输出数据输出; reg r1,r2;总是@(posedge clk)r1总是@(negedge clk)r2指定dataout = clk? r1:r2; endmodulemodule main(clkin,leds);输入clkin;输出[7:0] LED; //寄存器用于减慢输入//时钟信号“clkin”。 reg [26:0] div;总是@(posedge clkin)div = div + 1; //我设置//双边沿寄存器将使用的时钟。电线计数器; assign counterclk = div [26]; wire [7:0] counterdatain; wire [7:0] counterdataout; / *我生成一个由双边沿寄存器组成的8位计数器,用于计算输入时钟信号clkin的转换次数,无论是正边沿还是负边沿转换。 * / dualedgeregister counter0(counterclk,counterdatain [0],counterdataout [0]); dualedgeregister counter1(counterclk,counterdatain [1],counterdataout [1]); dualedgeregister counter2(counterclk,counterdatain [2],counterdataout [2]); dualedgeregister counter3(counterclk,counterdatain [3],counterdataout [3]); dualedgeregister counter4(counterclk,counterdatain [4],counterdataout [4]); dualedgeregister counter5(counterclk,counterdatain [5],counterdataout [5]); dualedgeregister counter6(counterclk,counterdatain [6],counterdataout [6]); dualedgeregister counter7(counterclk,counterdatain [7],counterdataout [7]); //组合逻辑设置双边沿寄存器输入的下一个//状态。 assign counterdatain = counterdataout + 1; //双边沿寄存器的输出分配leds = counterdataout; endmodule以上来自于谷歌翻译以下为原文I am trying to implement a verilog code that count the transitions of a clock (ei: both its positive and negative transitions).The following verilog code use dual-edge-registers implemented by the module "dualedgeregister".I use 8 of those "dualedgeregister" to implement an 8bit dual-edge-register counter; the output of the 8bits dual-edge-register counter is displayed on 8 leds through the output of the module "main".The problem is that when I run this code on my devboard, only the 3 least significant bits of the dual-edge-registers are correctly storing the count, while the remaining 5 most significant bits of the counter hold random values or get stuck with a 0 value; I can tell of the state of each bit of the dual-edge-register through the 8 leds which display the output of the 8 dual-edge-registers.I tried this code on Spartan-3E and Spartan-6 with the same bad result, even when the dual-registers are clocked with a very slow clock.Please help !-------------------------------------------------------------------------------------------------module dualedgeregister(clk, datain, dataout); input clk; input datain; output dataout; reg r1, r2; always @(posedge clk) r1

    2019-06-21 07:09

  • 不能驱动多个缓冲区

    嗨, 我一直试图在Spartan 6开发板上进行实验,我从板载CMOS振荡器接收100MHz时钟,将该时钟移位一些值,然后输出原始时钟和移位时钟以查看示波器。我还使用原始时钟运行一些状态机逻辑来控制相移。我尝试了几种DCM,BUFG原语和ODDR2块试图让它工作,但我得到错误说我的时钟不能驱动多个缓冲区,非法连接逻辑和时钟缓冲区,或时钟缓冲区同一方向不能串联。我只是希望能够看到输出引脚上的原始和移位时钟来观察变化。这不可能吗?任何帮助,将不胜感激! -Cody以上来自于谷歌翻译以下为原文Hi,I've been trying to run an experiment a Spartan 6 development board where I take in a 100MHz clock from the on board CMOS oscillator, shift that clock by some value, and then output the original and shifted clocks to look at on a scope.I also use the original clock to run some state machine logic for controlling the phase shifting.I've tried several arrangements of DCMs, BUFG primitives and ODDR2 blocks trying to get it to work, but I either get the error saying that my clock cannot drive multiple buffers, has illegal connections to logic and a clock buffer, or that clock buffers of the same direction cannot be placed in series. I just want to be able to see the original and shifted clocks on output pins to observe the changes.Is this impossible?Any help would be appreciated! -Cody

    2019-06-11 11:01