verilog
How do I write Verilog testcases in Perl?
I have simple Verilog code and a test bench for which I have to pass the test cases using Perl. I have to write a Perl script of test cases which will receive random i开发者_运维技巧nput. When I execu[详细]
2023-02-21 13:54 分类:问答verilog basic compiler error
I am tring to compile a program in verilog but there is a basic mistake. I cant figure out what. First module:[详细]
2023-02-19 19:23 分类:问答srand() analog for SystemVerilog
C rand() and srand() functions is very useful when you doing something like that: srand(SEED); for() { //doing something with one thing using rand()[详细]
2023-02-18 20:34 分类:问答Designing an edge-triggered barrel shifter/rotator in Verilog
I made a combinational barrel shifter/rotator. Now I have to make an edge triggered one. If you use the control signals to tell the edge-triggered shifter开发者_开发百科/rotator to shift right by one[详细]
2023-02-18 07:13 分类:问答ModelSim doesn't recognize the parameter data type?
Here is some Verilog code that I\'m trying to run in Modelsim. parameter Data_width = 8; //DATA SIZE input CLK, RST;[详细]
2023-02-17 23:40 分类:问答Unable to Implement Simple ALU
I have a basic 8-bit ALU described in Verilog. I am trying to implement the design, but I am getting error messages:[详细]
2023-02-17 19:08 分类:问答Using wire or reg with input or output in Verilog
When you declare something as in开发者_如何学Pythonput or output, how do you know if you have to also declare it as a reg or a wire?reg and wire specify how the object will be assigned and are therefo[详细]
2023-02-17 15:47 分类:问答How to use $display without initial or always blocks
I\'m trying to debug a Verilog module that doesn\'t use initial or always by using $di开发者_运维技巧splay statements. However, these appear to be illegal outside of initial or always blocks. Why is t[详细]
2023-02-16 15:30 分类:问答How to restart a Verilog simulation in Modelsim
I\'m trying 开发者_如何学编程to debug a Verilog module. I find it tedious to have to stop a simulation, modify code, and then go through the process of starting the simulation again. Is there an easie[详细]
2023-02-15 22:27 分类:问答How to declare an array of 4 bits in Verilog
I need an array to hold a 4-bit number. I开发者_开发知识库t is neither an input or an output, just an intermediary value necessary for calculations. How would this be declared?You mean that you need a[详细]
2023-02-15 16:34 分类:问答