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
!254
Fix linting issues
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix linting issues
clean
into
master
Overview
0
Commits
1
Pipelines
5
Changes
16
Merged
Oscar Gustafsson
requested to merge
clean
into
master
2 years ago
Overview
0
Commits
1
Pipelines
5
Changes
1
Expand
0
0
Merge request reports
Compare
version 4
version 4
63c54ef4
2 years ago
version 3
435ae328
2 years ago
version 2
c6ec6b6b
2 years ago
version 1
8978073d
2 years ago
master (base)
and
latest version
latest version
878f17cb
1 commit,
2 years ago
version 4
63c54ef4
1 commit,
2 years ago
version 3
435ae328
1 commit,
2 years ago
version 2
c6ec6b6b
1 commit,
2 years ago
version 1
8978073d
1 commit,
2 years ago
Show latest version
1 file
+
6
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
b_asic/codegen/vhdl/architecture.py
+
6
−
4
Options
@@ -2,16 +2,18 @@
Module for code generation of VHDL architectures.
"""
from
io
import
TextIOWrapper
from
typing
import
Dict
,
Set
,
Tuple
,
cast
from
typing
import
TYPE_CHECKING
,
Dict
,
Set
,
Tuple
,
cast
from
b_asic.codegen
import
vhdl
from
b_asic.process
import
MemoryVariable
,
PlainMemoryVariable
from
b_asic.resources
import
ProcessCollection
,
_ForwardBackwardTable
if
TYPE_CHECKING
:
from
b_asic.resources
import
ProcessCollection
,
_ForwardBackwardTable
def
write_memory_based_storage
(
f
:
TextIOWrapper
,
assignment
:
Set
[
ProcessCollection
],
assignment
:
Set
[
"
ProcessCollection
"
],
entity_name
:
str
,
word_length
:
int
,
read_ports
:
int
,
@@ -286,7 +288,7 @@ def write_memory_based_storage(
def
write_register_based_storage
(
f
:
TextIOWrapper
,
forward_backward_table
:
_ForwardBackwardTable
,
forward_backward_table
:
"
_ForwardBackwardTable
"
,
entity_name
:
str
,
word_length
:
int
,
read_ports
:
int
,
Loading