Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To support hyperbus module and fix some issues in the boot process #138

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

hayapyonn
Copy link

This modification fixes some issues on the boot process in the test bench. The latest boot code firstly checks the configuration register for the boot (which can be set via JTAG), then decides whether or not the boot is taken over by the debug module. Nevertheless, the debug module takes over the boot process no matter what the register value is.
In the modified version, the configuration register is firstly set according to the "STIM_FROM" parameter value, then the boot is conducted. For now, JTAG, SPI_FLASH, and HYPER_FLASH can be given. If any values are not given to the config register, then the debug module takes over the boot process. In default, the debug module way is selected for the boot.

Some modifications for the Hyperbus compatibility are added to tb_pulp, pulpissimo.sv, pad_frame.sv, and soc_domain.sv.
The models of the hyperflash and hyperram are not open sources, so I created a directory in vip for these models and modified generate_script. For activating these models, USE_HYPER_MODELS in the test bench should be set to 1.

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.

1 participant