mirror of
https://github.com/aolofsson/oh.git
synced 2025-01-17 20:02:53 +08:00
Synthesis cleanup
This commit is contained in:
parent
67409dba7a
commit
aac3d5b3a2
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user