Files
imdd_silas/Functions/helper_functions_community/schemer/develop/sample.v
Silas Labor Zizou 99fe2ca106 Commit Friday evening.
PDFA and EXFO Laser are now part of the family
2024-10-25 20:31:50 +02:00

22 lines
432 B
Verilog

/* Sample Verilog code, which doesn't really do anything
* but it does show syntax highlighting
*/
module main(inputVar, flip);
input inputVar;
input flip;
reg flop;
// Comment about dummy code which doesn't work
always @(posedge flip or posedge inputVar)
if (reset)
begin
flop <= (0 & ~inputVar);
end
else
begin
$display("Hello world!");
$finish;
end
endmodule