Commit 9ff38dee authored by Jens Korinth's avatar Jens Korinth

Closes #75 - Rename or remove [tapasco::get_generate_mode]

* removed; not required anymore
* standard name for Vivado project is now microarch
parent 03d74ebf
......@@ -449,12 +449,6 @@ namespace eval tapasco {
return [get_bd_intf_pins -of_objects $cell -filter "VLNV =~ xilinx.com:interface:aximm_rtl:* && MODE == $mode"]
}
# Returns the current generation mode selected by the user.
# Default: "sim"
proc get_generate_mode {} {
return "bit"
}
# Returns the desired design clock frequency (in MHz) selected by the user.
# Default: 250
proc get_design_frequency {} {
......
......@@ -73,8 +73,8 @@ arch::create
platform::create
# create wrapper
make_wrapper -files [get_files [pwd]/[tapasco::get_generate_mode]/@@PROJECT_NAME@@.srcs/sources_1/bd/system/system.bd] -top
add_files -norecurse [pwd]/[tapasco::get_generate_mode]/@@PROJECT_NAME@@.srcs/sources_1/bd/system/hdl/system_wrapper.v
make_wrapper -files [get_files [pwd]/@@PROJECT_NAME@@/@@PROJECT_NAME@@.srcs/sources_1/bd/system/system.bd] -top
add_files -norecurse [pwd]/@@PROJECT_NAME@@/@@PROJECT_NAME@@.srcs/sources_1/bd/system/hdl/system_wrapper.v
update_compile_order -fileset sources_1
# generate according to the mode
......
......@@ -124,7 +124,7 @@ class VivadoComposer()(implicit cfg: Configuration, maxThreads: Option[Int]) ext
composition: String): Unit = {
// needles for template
val needles: scala.collection.mutable.Map[String, String] = scala.collection.mutable.Map(
"PROJECT_NAME" -> "[tapasco::get_generate_mode]",
"PROJECT_NAME" -> "microarch",
"BITSTREAM_NAME" -> projectName,
"HEADER" -> header,
"PRELOAD_FILES" -> "",
......@@ -172,7 +172,6 @@ class VivadoComposer()(implicit cfg: Configuration, maxThreads: Option[Int]) ext
repoPaths + (for (i <- 0 until elems.length) yield
List(
//"update_ip_catalog -add_ip {" + elems(i)._4.toString + "} -repo_path [pwd]/[tapasco::get_generate_mode]",
"dict set kernels {" + i + "} vlnv {" + elems(i)._5 + "}",
"dict set kernels {" + i + "} count {" + elems(i)._2 + "}",
"dict set kernels {" + i + "} id {" + elems(i)._3.id + "}",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment