Professional Documents
Culture Documents
Cad 46
Cad 46
Cad 46
Sumanth Sakkara
Department of Electronics and Communication Engineering.
COMPUTER AIDED DIGITAL DESIGN
example.tv is a text file containing the inputs and expected output written in binary
Computer Aided Digital Design
Hardware Description Language 2 : TESTBENCHES
The sensitivity list should not include the word “posedge”. The always statement
needs to respond to any changes in s, not just the positive edge. Signals d0 and d1
need to be added to the sensitivity list. Also, the always statement implies
combinational logic, so blocking assignments should be used.
The following SystemVerilog modules show errors that the authors have seen
students make in the laboratory. Explain the error in each module and show
how to fix it