mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 15:42:25 +00:00
Add confidence tests.
This commit is contained in:
parent
1304822769
commit
efefcf0fb4
27 changed files with 1720 additions and 0 deletions
12
src/test/confidence/lola/lola.Mod
Executable file
12
src/test/confidence/lola/lola.Mod
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
MODULE Lola; (* Command line runner for Lola to verilog compilation *)
|
||||
IMPORT LSB, LSC, LSV, Platform, Console;
|
||||
BEGIN
|
||||
IF Platform.ArgCount < 3 THEN
|
||||
Console.String("Lola - compile lola source to verilog source."); Console.Ln; Console.Ln;
|
||||
Console.String("usage:"); Console.Ln; Console.Ln;
|
||||
Console.String(" lola lola-source-file verilog-source-file"); Console.Ln; Console.Ln;
|
||||
ELSE
|
||||
LSC.Compile;
|
||||
IF LSB.modname # "" THEN LSV.List END
|
||||
END
|
||||
END Lola.
|
||||
Loading…
Add table
Add a link
Reference in a new issue