forked from Github_Repos/cvw
clint HREADY signal update
This commit is contained in:
parent
86078d856f
commit
f4fb546969
@ -45,9 +45,7 @@ module clint (
|
|||||||
assign memread = HSELCLINT & ~HWRITE;
|
assign memread = HSELCLINT & ~HWRITE;
|
||||||
assign memwrite = HSELCLINT & HWRITE;
|
assign memwrite = HSELCLINT & HWRITE;
|
||||||
assign HRESPCLINT = 0; // OK
|
assign HRESPCLINT = 0; // OK
|
||||||
// assign HREADYCLINT = 1; // Respond immediately
|
assign HREADYCLINT = 1'b1; // will need to be modified if CLINT ever needs more than 1 cycle to do something
|
||||||
always_ff @(posedge HCLK) // delay response
|
|
||||||
HREADYCLINT <= memread | memwrite;
|
|
||||||
|
|
||||||
// word aligned reads
|
// word aligned reads
|
||||||
generate
|
generate
|
||||||
|
Loading…
Reference in New Issue
Block a user