-
Notifications
You must be signed in to change notification settings - Fork 228
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
Axi Back to Back example with good headers #2559
base: master
Are you sure you want to change the base?
Conversation
In this example a master AXI agent is connected to a slave AXI agent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @khandelwaltanuj, thanks for fixing the licenses. I made a comment on sim_cmd/compile.py
about adding a new copyright to an existing copyright. The guidance I have received on this is:
- If an open-source file already has a copyright header, you are not required to change it.
- You may add your own copyright header if you have modified the original.
So, if you have made modifications to the files in this PR that already have a copyright header, that is OK. Can you add a reply to my comment on sim_cmd/compile.py
?
For infomation: Each file comitted with this PR are new files which did not exists before in the github. Regards |
I have removed now all references to varilab copyright. Regarsd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @khandelwaltanuj!
Hi @ASintzoff, I am 99% confident that this pull-request will not impact CVA6 in any way because it is all new files that are not used in the CVA6 UVM environment. However, I have been wrong before, so if you could also have a look that would be helpful. Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to squash all "update header" commits to avoid such kind of commits in github.com/openhwgroup/core-v-verif repository?
@@ -0,0 +1,12 @@ | |||
# SIM CMD | |||
## Introduction | |||
These are pyhton scripts, they allow to compile and run a test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are pyhton scripts, they allow to compile and run a test. | |
These are python scripts, they allow to compile and run a test. |
To run a test | ||
python3 run_test.py --yaml simulator_vcs.yaml --test_name bursty_test_c | ||
|
||
The templates of yaml files are providede with the script, which can be used to copile and run the test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The templates of yaml files are providede with the script, which can be used to copile and run the test | |
The templates of yaml files are provided with the script, which can be used to compile and run the test |
@@ -0,0 +1,16 @@ | |||
# AXI master to slave example | |||
## Introduction | |||
In this example, an axi master agent is connected to axi slave agent. This example alows a fast verification of changes made in the AXI agent. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this example, an axi master agent is connected to axi slave agent. This example alows a fast verification of changes made in the AXI agent. | |
In this example, an AXI master agent is connected to AXI slave agent. This example allows a fast verification of changes made in the AXI agent. |
// master_cfg.set_is_reactive(1'b0); | ||
master_cfg.set_id_management_enable(1'b0); | ||
// master_cfg.set_protocol_checker_enable(1'b1); | ||
// master_cfg.set_covergroup_enable(1'b1); | ||
// master.set_agent_config(master_cfg); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any reason to keep the commented lines?
// slave_cfg.set_is_reactive(1'b1); | ||
slave_cfg.set_id_management_enable(1'b0); | ||
// slave_cfg.set_protocol_checker_enable(1'b0); | ||
// slave_cfg.set_covergroup_enable(1'b0); | ||
// slave.set_agent_config(slave_cfg); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any reason to keep the commented lines?
Hi @ASintzoff Thanks for the review. I have cleaned the README and removed the commencted lines. Thanks and regards |
c89bcd2
to
1d332a6
Compare
I have squashed the commits. |
Thanks @khandelwaltanuj. Hi @ASintzoff, pls have another look. |
I'm still puzzled by some commits (header updates). BTW, it will be better to not modify legal stuff if it can be the correct one in the first commit. |
updated headers, removed unused files updated headers squashing multiple commits to one updated headers Update compile.py updated header updated header updated header updated header updated header updated header updated header updated header updated header updated header updated header updated header updated header updated header Update README.md Corrected errors in README Update README.md Corrected read and added an header Update README.md Added an header Update dut_env.sv Remove the commented lines Update dut_env_axi_ohg.sv Removed commented lines [uvma_axi verif] change mem default to random from X
1d332a6
to
d456430
Compare
Hi I have made another attempt at squashing some more header update commits. Regards |
Hello, Can we merge this one ? Regards |
Hi @MikeOpenHWGroup
There is a new PR, I have done a lot cleaning in this one.
This contain an example of an AXI connected back to back. Master agent is connected to slave agent.
I have removed many unsed files (19 now from 42 files to merge). I have added header everywhere except in do files.
I have not move do files yet.
thanks and regards
Tanuj Khandelwal