initial commit for open source NoC IP

This commit is contained in:
Zexin Fu
2023-11-26 14:59:34 +01:00
commit 6ba3d27334
122 changed files with 14907 additions and 0 deletions

34
rtl/model/cells/std_dffr.sv Executable file
View File

@@ -0,0 +1,34 @@
//===============================================
//Name : STD_DFFR
//Author : cuiluping
//Email : luping.cui@rivai-ic.com.cn
//Date : 2019-08-24
//Description : with reset ,no enable D flip flop
//-----------------------------------------------
//All Rights Reserved by rivai company
//===============================================
module std_dffr
#(
parameter WIDTH = 8
)
(
input clk,
input rstn,
input [WIDTH-1:0] d,
output [WIDTH-1:0] q
);
logic [WIDTH-1:0] dff_q;
always_ff @(posedge clk or negedge rstn) begin
if(~rstn)begin
dff_q <= {WIDTH{1'b0}};
end
else begin
dff_q <= d;
end
end
assign q = dff_q;
endmodule