Sign in
foss-eda-tools
/
skywater-pdk
/
libs
/
sky130_osu_sc
/
701e93b125a5d83c61ce1b113e1b9c6f4ee7d0e5
/
.
/
flow
/
synth_snpsRISCV
/
hdl
/
flopenr.sv
blob: 2c00434a876753d20d3dbe0c49faf2810ed3c5cb [
file
] [
log
] [
blame
]
`timescale 1ns/1ns
module flopenr #(parameter WIDTH = 8)
(input clk, reset,
input en,
input [WIDTH-1:0] d,
output reg [WIDTH-1:0] q);
always @(posedge clk, posedge reset)
if (reset) q <= #1 0;
else if (en) q <= #1 d;
endmodule // flopenr