# flexbus2, sdram1, sdram2, sdram3, vss, vdd, sys, eint, pwm, gpio)
# File for stage 1 pinmux tested proposed by Luke,
-https://bugs.libre-soc.org/show_bug.cgi?id=50#c10
+# https://bugs.libre-soc.org/show_bug.cgi?id=50#c10
def dummy_pinset():
return m
+'''
+ _trellis_command_templates = [
+ r"""
+ {{invoke_tool("yosys")}}
+ {{quiet("-q")}}
+ {{get_override("yosys_opts")|options}}
+ -l {{name}}.rpt
+ {{name}}.ys
+ """,
+ ]
+'''
+
# sigh, have to create a dummy platform for now.
# TODO: investigate how the heck to get it to output ilang. or verilog.
# or, anything, really. but at least it doesn't barf
connectors = []
required_tools = []
command_templates = ['/bin/true']
- file_templates = TemplatedPlatform.build_script_templates
+ file_templates = {
+ **TemplatedPlatform.build_script_templates,
+ "{{name}}.il": r"""
+ # {{autogenerated}}
+ {{emit_rtlil()}}
+ """,
+ "{{name}}.debug.v": r"""
+ /* {{autogenerated}} */
+ {{emit_debug_verilog()}}
+ """,
+ }
toolchain = None
def __init__(self, resources):
self.resources = resources