Macro interface contract
The mpc66-v1 boundary has exactly these signal ports. Names, directions, widths, and ranges must match in RTL and the signal netlist. Overridable top-level value and type parameters are prohibited, whether declared in the module header or body. Fixed localparam declarations are allowed. Fix the hardened configuration before this boundary.
| Port | Direction | Width | Meaning |
|---|---|---|---|
clock | input | 1 | Functional clock, which may be stopped externally |
reset | input | 1 | Active-high reset |
io_in | input | [65:0] | External pin inputs |
io_out | output | [65:0] | Output data |
io_oe | output | [65:0] | Per-bit output enable; 1 drives the pin |
Reset must establish known state; io_oe=0 during reset is recommended. Drive unused outputs and enables to defined values. Do not depend on a continuously running clock while inactive, or use IO as an undeclared external clock/reset. Document the IO allocation and protocols exercised by your tests.
Three vectors represent bidirectional IO. Do not add top-level inout ports or pad cells. When io_oe[n]=1, the test environment must release that bit; equal-value simultaneous driving also counts as contention.
Optional netlist tests use the same five signal ports.
The default example uses an active-high asynchronous reset. Coordinate reset deassertion with the working clock to meet register recovery/removal requirements, or synchronize it explicitly in the user design; the tools do not insert a reset synchronizer. The example test releases reset 1 ns after a rising clock edge to model a synchronous source functionally. This test offset is not a backend timing budget and does not verify arbitrary-phase asynchronous deassertion.