Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
BSD
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chengshuyao
BSD
Commits
778053b8
Commit
778053b8
authored
Dec 11, 2025
by
chengshuyao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Debug print bit width
parent
53f92e3b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/BSD_top.h
+3
-3
src/print_circuit.h
+1
-1
No files found.
src/BSD_top.h
View file @
778053b8
...
@@ -292,7 +292,7 @@ int search_partition(int start_node_number=default_start_node_number,int start_n
...
@@ -292,7 +292,7 @@ int search_partition(int start_node_number=default_start_node_number,int start_n
}
}
function_top_file
<<
endl
;
function_top_file
<<
endl
;
function_top_file
<<
"module function_top (i,o);"
<<
endl
<<
endl
;
function_top_file
<<
"module function_top (i,o);"
<<
endl
<<
endl
;
function_top_file
<<
"input ["
<<
parameter_input_bit_width
-
1
<<
":0] i;"
<<
endl
;
function_top_file
<<
"input ["
<<
PI_WIDTH
-
1
<<
":0] i;"
<<
endl
;
function_top_file
<<
"output ["
<<
parameter_output_bit_width
-
1
<<
":0] o;"
<<
endl
<<
endl
;
function_top_file
<<
"output ["
<<
parameter_output_bit_width
-
1
<<
":0] o;"
<<
endl
<<
endl
;
for
(
int
i
=
0
;
i
<
best_partition_parts
;
i
++
){
for
(
int
i
=
0
;
i
<
best_partition_parts
;
i
++
){
function_top_file
<<
"wire ["
<<
parameter_output_bit_width
-
1
<<
":0] o_"
<<
i
<<
";"
<<
endl
;
function_top_file
<<
"wire ["
<<
parameter_output_bit_width
-
1
<<
":0] o_"
<<
i
<<
";"
<<
endl
;
...
@@ -428,7 +428,7 @@ int search_partition(int start_node_number=default_start_node_number,int start_n
...
@@ -428,7 +428,7 @@ int search_partition(int start_node_number=default_start_node_number,int start_n
}
}
function_top_file
<<
endl
;
function_top_file
<<
endl
;
function_top_file
<<
"module function_top (i,o);"
<<
endl
<<
endl
;
function_top_file
<<
"module function_top (i,o);"
<<
endl
<<
endl
;
function_top_file
<<
"input ["
<<
parameter_input_bit_width
-
1
<<
":0] i;"
<<
endl
;
function_top_file
<<
"input ["
<<
PI_WIDTH
-
1
<<
":0] i;"
<<
endl
;
function_top_file
<<
"output ["
<<
parameter_output_bit_width
-
1
<<
":0] o;"
<<
endl
<<
endl
;
function_top_file
<<
"output ["
<<
parameter_output_bit_width
-
1
<<
":0] o;"
<<
endl
<<
endl
;
for
(
int
i
=
0
;
i
<
best_partition_parts
;
i
++
){
for
(
int
i
=
0
;
i
<
best_partition_parts
;
i
++
){
function_top_file
<<
"wire ["
<<
parameter_output_bit_width
-
1
<<
":0] o_"
<<
i
<<
";"
<<
endl
;
function_top_file
<<
"wire ["
<<
parameter_output_bit_width
-
1
<<
":0] o_"
<<
i
<<
";"
<<
endl
;
...
@@ -791,7 +791,7 @@ int search_order(int start_node_number = default_start_node_number, int start_no
...
@@ -791,7 +791,7 @@ int search_order(int start_node_number = default_start_node_number, int start_no
function_top_file
<<
"`include
\"
function_layer_"
<<
start_node_depth
<<
"_nodes_"
<<
start_node_index_string
<<
".v
\"
"
<<
endl
;
function_top_file
<<
"`include
\"
function_layer_"
<<
start_node_depth
<<
"_nodes_"
<<
start_node_index_string
<<
".v
\"
"
<<
endl
;
function_top_file
<<
endl
;
function_top_file
<<
endl
;
function_top_file
<<
"module function_top (i,o);"
<<
endl
<<
endl
;
function_top_file
<<
"module function_top (i,o);"
<<
endl
<<
endl
;
function_top_file
<<
"input ["
<<
parameter_input_bit_width
-
1
<<
":0] i;"
<<
endl
;
function_top_file
<<
"input ["
<<
PI_WIDTH
-
1
<<
":0] i;"
<<
endl
;
function_top_file
<<
"output ["
<<
parameter_output_bit_width
-
1
<<
":0] o;"
<<
endl
<<
endl
;
function_top_file
<<
"output ["
<<
parameter_output_bit_width
-
1
<<
":0] o;"
<<
endl
<<
endl
;
for
(
int
i
=
0
;
i
<
1
;
i
++
){
for
(
int
i
=
0
;
i
<
1
;
i
++
){
function_top_file
<<
"wire ["
<<
parameter_output_bit_width
-
1
<<
":0] o_"
<<
i
<<
";"
<<
endl
;
function_top_file
<<
"wire ["
<<
parameter_output_bit_width
-
1
<<
":0] o_"
<<
i
<<
";"
<<
endl
;
...
...
src/print_circuit.h
View file @
778053b8
...
@@ -141,7 +141,7 @@ int BDD_class::print_circuit(BDD_node** BDD,int* most_influence,int node_depth,
...
@@ -141,7 +141,7 @@ int BDD_class::print_circuit(BDD_node** BDD,int* most_influence,int node_depth,
output_module_file
<<
start_node_index_string
[
i
];
output_module_file
<<
start_node_index_string
[
i
];
}
}
output_module_file
<<
" (i,o_index);"
<<
endl
<<
endl
;
output_module_file
<<
" (i,o_index);"
<<
endl
<<
endl
;
output_module_file
<<
"input ["
<<
parameter_input_bit_width
-
1
<<
":0] i;"
<<
endl
;
output_module_file
<<
"input ["
<<
PI_WIDTH
-
1
<<
":0] i;"
<<
endl
;
output_module_file
<<
"output ["
<<
parameter_output_bit_width
-
1
<<
":0] o_index;"
<<
endl
<<
endl
;
output_module_file
<<
"output ["
<<
parameter_output_bit_width
-
1
<<
":0] o_index;"
<<
endl
<<
endl
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment