mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-10-01 01:45:38 -04:00
Implement cs0 and cs1 as logic equations, not muxes
Signed-off-by: Joachim Strömbergson <joachim@assured.se>
This commit is contained in:
parent
0590445f3d
commit
e48c0fc7d9
@ -125,14 +125,12 @@ module ram(
|
|||||||
//----------------------------------------------------------------
|
//----------------------------------------------------------------
|
||||||
always @*
|
always @*
|
||||||
begin : mem_mux
|
begin : mem_mux
|
||||||
cs0 = 1'h0;
|
cs0 = ~address[14] & cs;
|
||||||
cs1 = 1'h0;
|
cs1 = address[14] & cs;
|
||||||
|
|
||||||
if (address[14]) begin
|
if (address[14]) begin
|
||||||
cs1 = cs;
|
|
||||||
muxed_read_data = read_data1;
|
muxed_read_data = read_data1;
|
||||||
end else begin
|
end else begin
|
||||||
cs0 = cs;
|
|
||||||
muxed_read_data = read_data0;
|
muxed_read_data = read_data0;
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user