| Summary: | dec and tb POWER9 SPRs needed | ||
|---|---|---|---|
| Product: | Libre-SOC's first SoC | Reporter: | Luke Kenneth Casson Leighton <lkcl> |
| Component: | Source Code | Assignee: | Luke Kenneth Casson Leighton <lkcl> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | libre-soc-bugs |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| NLnet milestone: | NLNet.2019.10.043.Wishbone | total budget (EUR) for completion of task and all subtasks: | 200 |
| budget (EUR) for this task, excluding subtasks' budget: | 200 | parent task for budget allocation: | 383 |
| child tasks for budget allocation: | The table of payments (in EUR) for this task; TOML format: |
lkcl = { amount = 200, submitted = 2020-12-06, paid = 2020-12-06 }
|
|
| Bug Depends on: | |||
| Bug Blocks: | 383 | ||
|
Description
Luke Kenneth Casson Leighton
2020-07-05 17:49:54 BST
interrupt when dec reaches -1 if ctrl.msr(MSR_EE) = '1' then if ctrl.dec(63) = '1' then v.f.redirect_nia := std_logic_vector(to_unsigned(16#900#, 64)); report "IRQ valid: DEC"; irq_valid := '1'; commit a645950fa2d3c64b63b187485034dbafd115a16d (HEAD -> master) Author: Luke Kenneth Casson Leighton <lkcl@lkcl.net> Date: Sun Sep 6 12:13:16 2020 +0100 add DEC SPR to CoreState and PowerDecoder, activate 0x900 interrupt commit ee491651861ed89c44ced180189656b8a80fbee0 (HEAD -> master) Author: Luke Kenneth Casson Leighton <lkcl@lkcl.net> Date: Sun Sep 6 12:50:47 2020 +0100 move DEC and TB from StateRegs to FastRegs for several reasons first: SPR pipeline already has fast1 read/write second: a new DecodeStateIn/Out object would be needed instead just add FastRegs.DEC/TB to DecodeA/Out third: there is probably a third somewhere commit 0df522b99d98618d9ff5f95f622dbd79267ae728 (HEAD -> master) Author: Luke Kenneth Casson Leighton <lkcl@lkcl.net> Date: Sun Sep 6 12:56:48 2020 +0100 add a DEC/TB FSM to TestIssuer this operates on alternative cycles, because it reads/writes from the Fast Regfile directly litex sim running microwatt tests/decrementer/decrementer.bin passes [clocker] sys_clk: freq_hz=1000000, phase_deg=0 Test 01:PASS Test 02:PASS Test 03:PASS |