ucb-bar / midas

FPGA-Accelerated Simulation Framework Automatically Transforming Arbitrary RTL
Other
97 stars 15 forks source link

Fix assignment of DMA addresses in VCS harness #127

Closed zhemao closed 5 years ago

zhemao commented 5 years ago

The dma_aw_bits_addr and dma_ar_bits_addr signals are 64-bits long, but the VCS DirectC code only set the lower 32 bits until now. This assigned the upper 32 bits as well to avoid non-deterministic behavior in simulation.