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

Can't map parts of signals in duh #40

Open
v-krvavac opened this issue May 7, 2019 · 0 comments
Open

Can't map parts of signals in duh #40

v-krvavac opened this issue May 7, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@v-krvavac
Copy link

Is there a way to map parts of signals in duh? For example, we have a 32-bit interrupt signal in the PLDA RTL, and we currently have to break it into 32 1-bit signals in the RTL in order to be able to map it to the bus interface.

Example:
In json5 file:
portMaps: {
INT0: 'local_interrupt_out0',
INT1: 'local_interrupt_out1',
INT2: 'local_interrupt_out2',
INT3: 'local_interrupt_out3',
INT4: 'local_interrupt_out4',
......

Added code in RTL in order to support the above:

assign local_interrupt_out0 = local_interrupt_out[0];
assign local_interrupt_out1 = local_interrupt_out[1];
assign local_interrupt_out2 = local_interrupt_out[2];
assign local_interrupt_out3 = local_interrupt_out[3];
......

@drom drom added the enhancement New feature or request label Jun 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants