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

fixing doe bug caused by size of kv change #629

Merged
merged 2 commits into from
Nov 11, 2024
Merged
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
2 changes: 1 addition & 1 deletion .github/workflow_metadata/pr_hash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
357380de0b348b9d1a310e0b453f12722d1da13d675bd806fa1e56eea5d6d607e2014b012630990cf5415705cb926e63
374c7baec55c97611a6c6065eb7ea4fb78561213bb5bdff113bf7d35ff86b3aa85d352dcf6d2e4327ccbddbadba392ae
2 changes: 1 addition & 1 deletion .github/workflow_metadata/pr_timestamp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1731107556
1731352011
2 changes: 1 addition & 1 deletion src/doe/rtl/doe_fsm.sv
Original file line number Diff line number Diff line change
@@ -191,7 +191,7 @@ always_comb begin : kv_doe_fsm
//clear block and write offsets when we go back to idle
block_offset_en = '1;
block_offset_nxt = '0;
dest_write_offset_en = '0;
dest_write_offset_en = '1;
dest_write_offset_nxt = '0;
end
default: begin
Original file line number Diff line number Diff line change
@@ -66,9 +66,10 @@ void main() {

VPRINTF(LOW,"Rand UDS\n");

//Start UDS and store in KV3
SEND_STDOUT_CTRL(0xec);
*doe_ctrl = 0x0000000D;
//Inject random FE
SEND_STDOUT_CTRL(0xed);
//Start FE and store in KV23
*doe_ctrl = 0x0000005e; //Entry 23, FE flow;

// //Poll for DOE status
while(doe_status_int != (DOE_REG_DOE_STATUS_VALID_MASK | DOE_REG_DOE_STATUS_READY_MASK)) {
@@ -79,9 +80,10 @@ void main() {
//Clear doe_status_int
doe_status_int = 0;

//Start FE and store in KV23
SEND_STDOUT_CTRL(0xed);
*doe_ctrl = 0x0000005e; //Entry 23, FE flow;
//Inject random UDS
SEND_STDOUT_CTRL(0xec);
//Start UDS and store in KV3
*doe_ctrl = 0x0000000D;

// //Poll for DOE status
while(doe_status_int != (DOE_REG_DOE_STATUS_VALID_MASK | DOE_REG_DOE_STATUS_READY_MASK)) {