Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B-ASIC - Better ASIC Toolbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computer Engineering
B-ASIC - Better ASIC Toolbox
Merge requests
!356
Add methods to architecture
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add methods to architecture
archimprovements
into
master
Overview
0
Commits
1
Pipelines
1
Changes
3
Merged
Oscar Gustafsson
requested to merge
archimprovements
into
master
2 years ago
Overview
0
Commits
1
Pipelines
1
Changes
3
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
e9afdbf5
1 commit,
2 years ago
3 files
+
62
−
2
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
b_asic/codegen/vhdl/architecture.py
+
2
−
2
Options
@@ -26,14 +26,14 @@ def memory_based_storage(
@@ -26,14 +26,14 @@ def memory_based_storage(
Parameters
Parameters
----------
----------
f : TextIOWrapper
File object (or other TextIOWrapper object) to write the architecture onto.
assignment : dict
assignment : dict
A possible cell assignment to use when generating the memory based storage.
A possible cell assignment to use when generating the memory based storage.
The cell assignment is a dictionary int to ProcessCollection where the integer
The cell assignment is a dictionary int to ProcessCollection where the integer
corresponds to the cell to assign all MemoryVariables in corresponding process
corresponds to the cell to assign all MemoryVariables in corresponding process
collection.
collection.
If unset, each MemoryVariable will be assigned to a unique cell.
If unset, each MemoryVariable will be assigned to a unique cell.
f : TextIOWrapper
File object (or other TextIOWrapper object) to write the architecture onto.
word_length : int
word_length : int
Word length of the memory variable objects.
Word length of the memory variable objects.
read_ports : int
read_ports : int
Loading