Skip to content

Add tapeout pad sim SV models and TapeoutSimConfig - #1

Draft
shirohasuki wants to merge 1 commit into
mainfrom
mio/tapeout-sim-slice-a7bd
Draft

Add tapeout pad sim SV models and TapeoutSimConfig#1
shirohasuki wants to merge 1 commit into
mainfrom
mio/tapeout-sim-slice-a7bd

Conversation

@shirohasuki

Copy link
Copy Markdown
Member

Summary

Minimal slice of tape-env chip-level pad simulation, wired to the IO binders and harness models already present in this repo.

Changes

  • src/main/resources/vsrc/SimI2CEepromModel.sv — 256-byte I2C EEPROM behavioral model (byte[i] = i at reset)
  • src/main/resources/vsrc/SimSPIFlashPadModel.sv — pad wrapper around SimSPIFlashModel
  • src/main/scala/config/TapeoutConfigs.scalaTapeoutConfig, TapeoutSimConfig, WithTapeoutRocket, WithSerialConnect, WithTapeoutSingleClock
  • README.md — brief description of config targets

Config overview

Config Purpose
TapeoutConfig Chip-like Rocket @ 100 MHz, serial TL memory, pad IO cells, harness I2C EEPROM
TapeoutSimConfig Above + pad SPI flash sim (+spiflash0=)

Intentionally excluded

  • SMIC180 IO cells / clock gates
  • Buckyball RoCC / TapeoutBuckyballPebbleConfig
  • VCS Makefiles, flake/sbt build, applications/tests

Notes

SV resources match the paths already referenced by SimPeripheralModels.scala blackboxes. Config fragments such as WithUART / WithSPI / WithI2C / WithGPIO are inherited from the upstream Chipyard dependency (same as AbstractConfig).

Open in Web Open in Cursor 

Copy SimI2CEepromModel.sv and SimSPIFlashPadModel.sv from tape-env so
existing SimPeripheral blackboxes resolve their /vsrc resources.

Add TapeoutConfig and TapeoutSimConfig composing pad-level IO binders
and harness models (no SMIC180, no Buckyball RoCC). Update README.

Co-authored-by: Shiroha <whmio0115@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants