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

Axi Back to Back example with good headers #2559

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

Conversation

khandelwaltanuj
Copy link
Contributor

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

Copy link
Member

@MikeOpenHWGroup MikeOpenHWGroup left a 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?

lib/cv_dv_utils/python/sim_cmd/compile.py Show resolved Hide resolved
@khandelwaltanuj
Copy link
Contributor Author

Hi @MikeOpenHWGroup

For infomation: Each file comitted with this PR are new files which did not exists before in the github.

Regards
tanuj khandelwal

@khandelwaltanuj
Copy link
Contributor Author

Hi @MikeOpenHWGroup

I have removed now all references to varilab copyright.

Regarsd
Tanuj

Copy link
Member

@MikeOpenHWGroup MikeOpenHWGroup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MikeOpenHWGroup
Copy link
Member

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.

Copy link
Contributor

@ASintzoff ASintzoff left a 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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.

Comment on lines 107 to 111
// 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);
Copy link
Contributor

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?

Comment on lines 120 to 124
// 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);
Copy link
Contributor

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?

@khandelwaltanuj
Copy link
Contributor Author

Hi @ASintzoff

Thanks for the review. I have cleaned the README and removed the commencted lines.
Though I have not idea on how to squash the multiple "header update" into one as they all concern different files and I made the changes using github editor.

Thanks and regards
Tanuj Khandelwal

@MikeOpenHWGroup
Copy link
Member

I have not idea on how to squash the multiple "header update" into one

This is a very useful 'git' skill! Here are two ways to do it:

  • 1 using the git command-line.
  • 2 using the Github Desktop.

@khandelwaltanuj
Copy link
Contributor Author

Hi @MikeOpenHWGroup

I have squashed the commits.
Thanks and Regards
Tanuj Khandelwal

@MikeOpenHWGroup
Copy link
Member

Thanks @khandelwaltanuj.

Hi @ASintzoff, pls have another look.

@ASintzoff
Copy link
Contributor

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
@khandelwaltanuj
Copy link
Contributor Author

Hi

I have made another attempt at squashing some more header update commits.

Regards
Tanuj

@khandelwaltanuj
Copy link
Contributor Author

Hello,

Can we merge this one ?

Regards
Tanuj

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.

3 participants