Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix rtl bugs #9

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hdl/rtl/bus_wrapper/EF_PSRAM_CTRL_AHBL.v
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ module EF_PSRAM_CTRL_AHBL #(parameter REGISTER_HWDATA = 1)
always@(posedge HCLK or negedge HRESETn) begin
if(!HRESETn)
last_HSIZE <= 0;
else if (HTRANS[1])
else if (HTRANS[1] & HREADYOUT)
last_HSIZE<=HSIZE;
end

Expand Down Expand Up @@ -254,7 +254,7 @@ module EF_PSRAM_CTRL_AHBL #(parameter REGISTER_HWDATA = 1)
else
case (state)
ST_IDLE :
if((last_ahb_addr_phase|ahb_addr_phase) & data_cfg)
if((last_ahb_addr_phase|ahb_addr_phase))
HREADYOUT <= 1'b0;
else
HREADYOUT <= 1'b1;
Expand Down
2 changes: 1 addition & 1 deletion verify/uvm-python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ VERILOG_SOURCES ?= $(PWD)/top.v $(AHB_FILES) $(HDL_FILES) $(VIP_FILES)
RTL_MACROS += "" # Add macros needed
BUS_TYPE ?= AHB
RTL_MACROS += -DBUS_TYPE_AHB
DESIGN_NAME = EF_PSRAM_CTRL_ahbl
DESIGN_NAME = EF_PSRAM_CTRL_AHBL
export CLK_MAKEFILE = HCLK
export RST_MAKEFILE = HRESETn
## netlist Gen
Expand Down
Loading