-
Notifications
You must be signed in to change notification settings - Fork 210
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: m-labs/migen
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2f522bdd9f3f
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: m-labs/migen
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2a4cc3875cd1
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 3 commits
- 2 files changed
- 2 contributors
Commits on Mar 12, 2013
-
Add support for negative slice indices
In python a negative indices usually mean start counting from the right side. I.e. if the index is negative is acutal index used is len(l) + i. E.g. l[-2] equals l[len(l)-2]. Being able to specify an index this way also comes in handy for migen slices in some cases. E.g. the following snippet can be implement to shift an abitrary length register n bits to the right: reg.eq(Cat(Replicate(0, n), reg[-n:]) Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Configuration menu - View commit details
-
Copy full SHA for 72579a6 - Browse repository at this point
Copy the full SHA 72579a6View commit details -
Allow SimActors to produce/consume a constant stream of tokens
Currently a SimActor requires one clock period to recover from consuming or producing a token. ack/stb are deasserted in the cycle where the token is consumed/produced and only re-asserted in the next cycle. This patch updates the code to keep the control signals asserted if the actor is able to produce or consume a token in the next cycle. The patch also sets 'initialize' attribute on the simulation method, this will make sure that the control and data signals will be ready right on the first clock cycle. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Configuration menu - View commit details
-
Copy full SHA for dea4674 - Browse repository at this point
Copy the full SHA dea4674View commit details
Commits on Mar 17, 2013
-
Merge pull request #6 from larsclausen/master
Minor improvements
Sébastien Bourdeauducq committedMar 17, 2013 Configuration menu - View commit details
-
Copy full SHA for 2a4cc38 - Browse repository at this point
Copy the full SHA 2a4cc38View commit details
There are no files selected for viewing