Skip to content

Commit

Permalink
fixing doe bug caused by size of kv change (#629)
Browse files Browse the repository at this point in the history
* fixing doe bug caused by size of kv change

* MICROSOFT AUTOMATED PIPELINE: Stamp 'user/dev/michnorris/doe_bug' with updated timestamp and hash after successful run
  • Loading branch information
Nitsirks authored Nov 11, 2024
1 parent 4933923 commit 0dcc957
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
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
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand All @@ -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)) {
Expand Down

0 comments on commit 0dcc957

Please sign in to comment.