Posts

Showing posts from January, 2021

Verilog HDL code | 3X8 decoder using Conditional Operator

3X8 decoder using Conditional Operator module con_3x8_DC(s,i); input [0:2]s; output [0:7]i; assign i = ~s[0] ? ( ~s[1] ? (~s[2] ? 1 : 2):  (~s[2] ? 4 : 8)): ( ~s[1] ? (~s[2] ? 16 : 32):  (~s[2] ? 64 : 128)); endmodule

Error during a simulation .VWF(Wave Form File) file

Image
-------------FOR Quartus 13.0sp1------------- reason for not getting proper waveform : 1)File name:     your file name must be your module name 2)Compilation:     Your must be code successfully Compiled . 3)Device :     During creating new project Wizard You must need to select proper device in 2nd step.     I recommended cyclon II device.     *If your modalism Altera software properly installed  then not need to go for any extra device 4)Project:     During simulation check you are in a project where your verilog HDL file saved If all the above steps are correct and then you also you get an error or after simulation you not get wave form see :  https://youtu.be/kZ-c-UGvPyk            after watching that your all error must will be solved . Thank you