Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- always @ (posedge clk)
- begin
- dat0_o <= ram[adr0_i];
- if (we0_i)
- ram[adr0_i] <= dat0_i;
- end
- always @ (posedge clk)
- begin
- dat1_o <= ram[adr1_i];
- if (we1_i)
- ram[adr1_i] <= dat1_i;
- end
- endmodule // ram
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement