Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ArGen
ArGen
Commits
c78deda2
Commit
c78deda2
authored
Apr 12, 2020
by
Théotime BOLLENGIER
Browse files
use embedded vpr_7.0 in high_level_arch_generator
parent
6c5461db
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/bin/high_level_arch_generator.rb
View file @
c78deda2
...
...
@@ -192,7 +192,7 @@ loop do
#########################################################
vproutput
=
nil
#IO.popen("vpr arch.xml circuit.blif --nodisp --route_chan_width #{options[:W].to_s} --echo_file on") do |iopipe|
IO
.
popen
([
'vpr'
,
'arch.xml'
,
'circuit.blif'
,
'--nodisp'
,
'--route_chan_width'
,
options
[
:W
].
to_s
,
'--echo_file'
,
'on'
])
do
|
iopipe
|
IO
.
popen
([
File
.
expand_path
(
'../vpr_7.0'
,
__FILE__
)
,
'arch.xml'
,
'circuit.blif'
,
'--nodisp'
,
'--route_chan_width'
,
options
[
:W
].
to_s
,
'--echo_file'
,
'on'
])
do
|
iopipe
|
while
line
=
iopipe
.
gets
do
vproutput
=
line
.
chomp
end
...
...
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