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

Cl/eth astral #8

Closed
wants to merge 4 commits into from
Closed

Cl/eth astral #8

wants to merge 4 commits into from

Conversation

chaoqun-liang
Copy link

@chaoqun-liang chaoqun-liang commented Apr 17, 2024

ethernet integration @yvantor

Copy link
Collaborator

@yvantor yvantor left a comment

Choose a reason for hiding this comment

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

A few comments here and there. I did not look at the ethernet integration because we will have to redo it.

@@ -75,7 +75,7 @@ sources:
# package. Files in level 1 only depend on files in level 0, files in level 2 on files in
# levels 1 and 0, etc. Files within a level are ordered alphabetically.
# Level 0
- hw/carfield_pkg.sv
- hw/carfield_pkg.sv
Copy link
Collaborator

Choose a reason for hiding this comment

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

Trailing spaces.

@@ -166,7 +166,7 @@ chs-sw-build: chs-sw-all

.PHONY: car-sw-build
## Builds carfield application SW and specific libraries. It links against `libcheshire.a`.
car-sw-build: chs-sw-build safed-sw-build pulpd-sw-build car-sw-all
car-sw-build: chs-sw-build pulpd-sw-build car-sw-all #safed-sw-build
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why commenting out the safed-sw-build?

@@ -214,7 +214,7 @@ pulpd-sw-build: pulpd-sw-init
## Initialize Carfield HW. This step takes care of the generation of the missing hardware or the
## update of default HW configurations in some of the domains. See the two prerequisite's comment
## for more information.
car-hw-init: spatzd-hw-init chs-hw-init secd-hw-init
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why removing the secd-hw-init?

@@ -289,7 +289,7 @@ include $(CAR_SIM_DIR)/sim.mk

.PHONY: car-init-all
## Shortcut to initialize carfield with all the targets described above.
car-init-all: car-checkout car-hw-init car-sim-init safed-sw-init pulpd-sw-init mibench
car-init-all: car-checkout car-hw-init car-sim-init pulpd-sw-init mibench #safed-sw-init
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why commenting out the safed-sw-init?

Comment on lines 319 to 329
localparam islands_cfg_t CarfieldIslandsCfg = '{
l2_port0: '{L2Port0Enable, L2Port0Base, L2Port0Size},
l2_port1: '{L2Port1Enable, L2Port1Base, L2Port1Size},
safed: '{SafetyIslandEnable, SafetyIslandBase, SafetyIslandSize},
l2_port0: '{0, L2Port0Base, L2Port0Size},
l2_port1: '{0, L2Port1Base, L2Port1Size},
safed: '{0, SafetyIslandBase, SafetyIslandSize},
ethernet: '{EthernetEnable, EthernetBase, EthernetSize},
periph: '{PeriphEnable, PeriphBase, PeriphSize},
spatz: '{SpatzClusterEnable, SpatzClusterBase, SpatzClusterSize},
spatz: '{0, SpatzClusterBase, SpatzClusterSize},
pulp: '{PulpClusterEnable, PulpClusterBase, PulpClusterSize},
secured: '{SecurityIslandEnable, SecurityIslandBase, SecurityIslandSize},
secured: '{0, SecurityIslandBase, SecurityIslandSize},
mbox: '{MailboxEnable, MailboxBase, MailboxSize}
};
Copy link
Collaborator

@yvantor yvantor Apr 18, 2024

Choose a reason for hiding this comment

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

Create a specific config, add it to Bender.yml and use it in the bender-common.mk, do not just hammer it.

Comment on lines +1 to +2
#include <stdio.h>
#include <stdlib.h>
Copy link
Collaborator

Choose a reason for hiding this comment

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

You always have to add the copiright header on top of the files.

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.

2 participants