look for inutile stimuli files in schematic directory instead of in simulation directory

This commit is contained in:
Stefan Schippers 2022-09-13 18:53:17 +02:00
parent 6effda2bfc
commit 66bcc876a7
5 changed files with 27 additions and 20 deletions

View File

@ -5335,11 +5335,11 @@ proc build_widgets { {topwin {} } } {
$topwin.menubar.simulation.menu add command -label {Configure simulators and tools} -command {simconf}
$topwin.menubar.simulation.menu add command -label {Utile Stimuli Editor (GUI)} -command {
simuldir
inutile stimuli.[file rootname [file tail [xschem get schname]]]
inutile [xschem get current_dirname]/stimuli.[file rootname [file tail [xschem get schname]]]
}
$topwin.menubar.simulation.menu add command -label {Utile Stimuli Translate} -command {
simuldir
inutile_translate stimuli.[file rootname [file tail [xschem get schname]]]
inutile_translate [xschem get current_dirname]/stimuli.[file rootname [file tail [xschem get schname]]]
}
$topwin.menubar.simulation.menu add command -label {Shell [simulation path]} -command {
if { [select_netlist_dir 0] ne "" } {

View File

@ -1,4 +1,5 @@
v {xschem version=3.0.0 file_version=1.2 }
v {xschem version=3.1.0 file_version=1.2
}
G {}
K {}
V {// test}
@ -119,7 +120,7 @@ use std.TEXTIO.all;
use ieee.std_logic_1164.all;
library work;
use work.rrreal.all;
use work.rrreal_pkg.all;
}
C {pump.sym} 250 -680 0 0 {name=x4 conduct="1.0/20000.0" val=4.5}
@ -145,7 +146,7 @@ C {package_not_shown.sym} 830 -340 0 0 {
library ieee, std;
use std.textio.all;
package rrreal is
package rrreal_pkg is
@ -184,10 +185,10 @@ C {package_not_shown.sym} 830 -340 0 0 {
constant del: IN time
);
end rrreal; -- end package declaration
end rrreal_pkg; -- end package declaration
package body rrreal is
package body rrreal_pkg is
procedure print(s : in string) is
variable outbuf: line;
@ -351,7 +352,7 @@ end procedure;
end glitch;
end rrreal; -- end package body
end rrreal_pkg; -- end package body
}
C {title.sym} 160 -40 0 0 {name=l9 author="Stefan Schippers"}
C {arch_declarations.sym} 830 -280 0 0 {

View File

@ -1,4 +1,5 @@
v {xschem version=2.9.5_RC5 file_version=1.1}
v {xschem version=3.1.0 file_version=1.2
}
G {
process
@ -33,6 +34,7 @@ end process;
}
K {}
V {}
S {}
E {}
@ -41,9 +43,8 @@ C {ipin.sym} -80 -90 0 0 {name=p2 lab=ING}
C {use.sym} -150 -260 0 0 {library ieee;
use std.TEXTIO.all;
use ieee.std_logic_1164.all;
use work.rrreal.all;
library work;
use work.rrreal.all;
use work.rrreal_pkg.all;
}

View File

@ -1,4 +1,5 @@
v {xschem version=2.9.5_RC5 file_version=1.1}
v {xschem version=3.1.0 file_version=1.2
}
G {
process
@ -30,6 +31,7 @@ begin
end if;
end process;
}
K {}
V {}
S {}
E {}
@ -37,9 +39,8 @@ C {iopin.sym} 50 -80 0 0 {name=p1 lab=USC sig_type=rreal}
C {use.sym} -120 -340 0 0 {library ieee;
use std.TEXTIO.all;
use ieee.std_logic_1164.all;
use work.rrreal.all;
library work;
use work.rrreal.all;
use work.rrreal_pkg.all;
}

View File

@ -1,4 +1,5 @@
v {xschem version=2.9.7 file_version=1.2}
v {xschem version=3.1.0 file_version=1.2
}
G {
-- process
@ -96,11 +97,6 @@ L 4 -150 -10 -110 -10 {}
L 4 -150 10 -110 10 {}
T {@symname} -49.5 -6 0 0 0.3 0.3 {}
T {@name} 65 -32 0 0 0.2 0.2 {}
C {use.sym} 120 -280 0 0 { library ieee,work;
use ieee.std_logic_1164.all;
use work.rrreal.all;
use std.textio.all;
}
C {ipin.sym} -150 10 0 0 {name=p3 lab=ENAB}
C {iopin.sym} -150 -10 0 1 {name=p2 lab=A sig_type=rreal}
C {arch_declarations.sym} 140 -160 0 0 {
@ -116,3 +112,11 @@ begin
end print2;
}
C {iopin.sym} 150 -10 0 0 {name=p1 lab=B sig_type=rreal}
C {use.sym} -130 -260 0 0 {library ieee;
use std.TEXTIO.all;
use ieee.std_logic_1164.all;
library work;
use work.rrreal_pkg.all;
}