Skip to content
Snippets Groups Projects
Commit b1de00de authored by ks6n19's avatar ks6n19
Browse files

project compiled quartus 24_09

parent 22606b9d
No related branches found
No related tags found
No related merge requests found
Showing
with 1143 additions and 15 deletions
...@@ -56,7 +56,7 @@ timeprecision 100ps; ...@@ -56,7 +56,7 @@ timeprecision 100ps;
localparam No_Transfer = 2'b0; localparam No_Transfer = 2'b0;
//memory //memory
logic [7:0] memory [0:307199] ; logic [0:0] memory [0:307199] ;
// other declarations // other declarations
logic write_enable, read_enable; logic write_enable, read_enable;
...@@ -98,21 +98,14 @@ always_ff @(posedge HCLK, negedge HRESETn) ...@@ -98,21 +98,14 @@ always_ff @(posedge HCLK, negedge HRESETn)
pixel_address = (pixel_y * 640) + pixel_x ; pixel_address = (pixel_y * 640) + pixel_x ;
always_ff @(posedge HCLK)
assign pixel = memory[pixel_address] ; begin
pixel <= memory[pixel_address] ;
assign HRDATA = read_enable ? memory[word_address] : '0 ; end
//assign HRDATA = read_enable ? memory[word_address] : '0 ;
assign HRDATA = '0; // read is not permitted mode
/*
assign bv1 = memory[0] ;
assign bv2 = memory[1] ;
assign bv3 = memory[2] ;
assign tv1 = memory[3] ;
assign tv2 = memory[4] ;
assign tv3 = memory[5] ;
assign BCO = memory[6] ;
assign TCO = memory[7] ;
*/
//Transfer Response //Transfer Response
......
No preview for this file type
This diff is collapsed.
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment