diff --git a/ice40/main.cc b/ice40/main.cc
index 46cdce71..b9eee627 100644
--- a/ice40/main.cc
+++ b/ice40/main.cc
@@ -45,26 +45,6 @@
USING_NEXTPNR_NAMESPACE
-void svg_dump_decal(const Context *ctx, const DecalXY &decal)
-{
- const float scale = 10.0, offset = 10.0;
- const std::string style = "stroke=\"black\" stroke-width=\"0.1\" fill=\"none\"";
-
- for (auto &el : ctx->getDecalGraphics(decal.decal)) {
- if (el.type == GraphicElement::TYPE_BOX) {
- std::cout << "\n";
- }
-
- if (el.type == GraphicElement::TYPE_LINE) {
- std::cout << "\n";
- }
- }
-}
-
void conflicting_options(const boost::program_options::variables_map &vm, const char *opt1, const char *opt2)
{
if (vm.count(opt1) && !vm[opt1].defaulted() && vm.count(opt2) && !vm[opt2].defaulted()) {
@@ -91,7 +71,6 @@ int main(int argc, char *argv[])
#ifndef NO_GUI
options.add_options()("gui", "start gui");
#endif
- options.add_options()("svg", "dump SVG file");
options.add_options()("pack-only", "pack design only without placement or routing");
po::positional_options_description pos;
@@ -332,16 +311,6 @@ int main(int argc, char *argv[])
ctx->placer_constraintWeight = vm["cstrweight"].as();
}
- if (vm.count("svg")) {
- std::cout << "\n";
- }
-
if (vm.count("test"))
ctx->archcheck();