kenleigh
Member level 1
I'm a noob in verilog.
I have a module that has 2 outputs, RESET and PWDN amongst others.
I want to make RESET output high level(3.3V) and PWDN output low level (0V).
In a microcontroller I would have done something like this
RESET = 1;
PWDN = 0;
Can I do similar in Verilog , something like
However I get error on the line where I have used "="
I have a module that has 2 outputs, RESET and PWDN amongst others.
I want to make RESET output high level(3.3V) and PWDN output low level (0V).
In a microcontroller I would have done something like this
RESET = 1;
PWDN = 0;
Can I do similar in Verilog , something like
Code:
module test(RESET, PWDN)
output RESET, PWDN;
RESET = 1;
PWDN = 0;
end module
However I get error on the line where I have used "="