Skip to content
This repository has been archived by the owner on Jun 16, 2024. It is now read-only.

Commit

Permalink
BoardResourcesSpec: include Verilog checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
kivikakk committed May 22, 2024
1 parent 7449d48 commit 067129e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,11 @@ class BoardResourcesSpec extends AnyFlatSpec with Matchers {
)

rtl should include("pmod1a1_int = view__uart_rx_int")
rtl should include("uart_tx_int = view__pmod1a2_int")
rtl should include("pmod1b1_int = ~view__ubtn_int")
rtl should include("ledr_int = ~view__pmod1b2_int")

// HACK: this is _extra_ brittle.
"\\s+".r
.replaceAllIn(rtl, " ") should include(
"module chrysetop( " +
Expand All @@ -111,7 +114,6 @@ class BoardResourcesSpec extends AnyFlatSpec with Matchers {
"input pmod1b2 " +
");",
)

}
}

Expand Down

0 comments on commit 067129e

Please sign in to comment.