Point to SiFive license | Add require on Arty

This commit is contained in:
abejgonzalez
2020-11-06 10:18:10 -08:00
parent b0fc0457aa
commit c721d897f3
17 changed files with 221 additions and 15 deletions

View File

@@ -16,6 +16,8 @@ import chipyard.harness.{ComposeHarnessBinder, OverrideHarnessBinder}
class WithArtyResetHarnessBinder extends ComposeHarnessBinder({
(system: HasPeripheryDebugModuleImp, th: ArtyFPGATestHarness, ports: Seq[Bool]) => {
require(ports.size == 2)
withClockAndReset(th.clock_32MHz, th.ck_rst) {
// Debug module reset
th.dut_ndreset := ports(0)