- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
What is the verilog code to tell the compiler to use the internal RAM chip? reg[7:0] ram[1024];Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
take a look at the Verilog templates in Quartus II under Edit > Insert Template
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
tnx!
is it correct? module ram(clk,data,myaddr,myram); input clk; input[7:0] data; input[9:0] myaddr; output[7:0] myram; reg[7:0] myram[1023:0]; always@(posedge clk) myram[myaddr]<=data; endmodule
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page