Skip to content
This repository has been archived by the owner on Nov 14, 2019. It is now read-only.

[Enhancement] Keep registers in a single interface #131

Open
adrianf0 opened this issue Feb 20, 2019 · 2 comments
Open

[Enhancement] Keep registers in a single interface #131

adrianf0 opened this issue Feb 20, 2019 · 2 comments
Assignees

Comments

@adrianf0
Copy link

It would be convenient if the tool had a possibility to provide all registers in a single interface.
Then instead of

module sample_0 (
...
output logic [15:0] o_bit_field_0_0,
output logic [15:0] o_bit_field_0_1,
output logic [31:0] o_bit_field_1_0,
input logic i_bit_field_2_0,
output logic o_bit_field_2_1,
input logic [31:0] i_bit_field_3_0,
...

it could simply generate:

module sample_0 (
...
Registers registers,
...

and additionaly generate an extra header with the interface definition:

interface Registers (
...
logic [15:0] o_bit_field_0_0,
logic [15:0] o_bit_field_0_1,
logic [31:0] o_bit_field_1_0,
logic i_bit_field_2_0,
logic o_bit_field_2_1,
logic [31:0] i_bit_field_3_0,
...
)
@adrianf0
Copy link
Author

adrianf0 commented Aug 1, 2019

Hi @taichi-ishitani ,
Thank you for the update.
Unfortunately, I am 100% busy with the other (work) project those days, thus can't promise soon check. Sorry.

@taichi-ishitani
Copy link
Owner

Hi @adrianf0 ,

No problem!

100% busy with the other (work) project

Good luck with your project 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants