aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/main.cc
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-10 12:58:05 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-10 12:58:05 +0200
commitd0bd657551e449aa14a3fcc04401cbd9efb9fb96 (patch)
tree293c7605276ec647d9cdd6f058879da814c7d50c /ice40/main.cc
parent6da8f98eacab15fad804ffa66ca95acb6350bbf3 (diff)
downloadnextpnr-d0bd657551e449aa14a3fcc04401cbd9efb9fb96.tar.gz
nextpnr-d0bd657551e449aa14a3fcc04401cbd9efb9fb96.tar.bz2
nextpnr-d0bd657551e449aa14a3fcc04401cbd9efb9fb96.zip
ice40: Write logic cell config to bitstream
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40/main.cc')
-rw-r--r--ice40/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/main.cc b/ice40/main.cc
index a57cd0a8..b4f61108 100644
--- a/ice40/main.cc
+++ b/ice40/main.cc
@@ -257,7 +257,7 @@ int main(int argc, char *argv[])
if (vm.count("asc")) {
std::string filename = vm["asc"].as<std::string>();
std::ofstream f(filename);
- write_asc(design.chip, f);
+ write_asc(design, f);
}
if (vm.count("run")) {