1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-01-17 20:02:53 +08:00

Synthesis cleanup

This commit is contained in:
Andreas Olofsson 2016-07-24 05:11:47 -04:00
parent 67409dba7a
commit aac3d5b3a2

View File

@ -15,8 +15,11 @@ module oh_pulse2pulse (
output dout //output pulse (one clock cycle)
);
// local wires
reg toggle_reg;
reg pulse_reg;
reg pulse_reg;
wire toggle;
//pulse to toggle
assign toggle = din ? ~toggle_reg : toggle_reg;