-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
60 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
""" | ||
Bus interfaces specifications. | ||
Don't include specific protocol details or implement transaction logic here. | ||
They will be handled separately later on. | ||
e.g. AXI, AXI-Stream, Wishbone, etc. | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
""" | ||
Numerical format conversions | ||
This module provides classes for converting between different number formats, | ||
such as fixed point and floating point numbers. | ||
Put functions and classes here if: | ||
- They convert Python floats to a different numerical format, or vice versa | ||
- No operations and calculations logic is involved (e.g. addition, multiplication, etc.) | ||
""" | ||
|
||
from .fixed_point import FixedPoint | ||
|
||
__all__ = [ | ||
"FixedPoint" | ||
] |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
""" | ||
Logic and Structures Generator | ||
This module is responsible for generating the logic and structural patterns | ||
Include functions and classes here if: | ||
- They are describing a design pattern | ||
- They have high generality, regardless to bus protocols or specific IPs | ||
e.g. FSM Builder, Feed-forward Pipeline Generator, etc. | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
""" | ||
Commonly used design blocks | ||
Consider putting a design blocks here if: | ||
- It is a commonly used design block, but not a full IP | ||
- It can be described as a function that returns a signal | ||
- It has less generality than a generator, with a limited number of parameters | ||
e.g. Counter, FIFO, Fixed-Point Conversions, etc. | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
""" | ||
Utilities that only used by Magia | ||
Put those tools here if: | ||
- They are modifying data of the input of a function / class in Magia | ||
e.g. Logic Optimization, etc. | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters