Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module ram_2rw
- #(
- parameter dat_width=32, adr_width=32, mem_size=1024
- )
- (
- input [dat_width-1:0] dat0_i,
- input [adr_width-1:0] adr0_i,
- input we0_i,
- output reg [dat_width-1:0] dat0_o,
- input [dat_width-1:0] dat1_i,
- input [adr_width-1:0] adr1_i,
- input we1_i,
- output reg [dat_width-1:0] dat1_o,
- input clk
- );
- reg [dat_width-1:0] ram [0:mem_size - 1] ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement