From c4c703a6fe742158f9e193eca03819d35be071b9 Mon Sep 17 00:00:00 2001 From: bryan newbold Date: Fri, 17 May 2013 10:53:33 -0400 Subject: add spartan3a, virtex6, virtex7 data --- partmom.py | 12 ++++++++++++ templates/index.html | 3 +++ xilinx.py | 24 ++++++++++++++++++++++++ xilinx_data/spartan3a.csv | 29 +++++++++++++++++++++++++++++ xilinx_data/spartan3a_shared.csv | 0 xilinx_data/virtex6.csv | 36 ++++++++++++++++++++++++++++++++++++ xilinx_data/virtex6_shared.csv | 0 xilinx_data/virtex7.csv | 35 +++++++++++++++++++++++++++++++++++ xilinx_data/virtex7_shared.csv | 2 ++ 9 files changed, 141 insertions(+) create mode 100644 xilinx_data/spartan3a.csv create mode 100644 xilinx_data/spartan3a_shared.csv create mode 100644 xilinx_data/virtex6.csv create mode 100644 xilinx_data/virtex6_shared.csv create mode 100644 xilinx_data/virtex7.csv create mode 100644 xilinx_data/virtex7_shared.csv diff --git a/partmom.py b/partmom.py index 1d89eff..66efa0c 100755 --- a/partmom.py +++ b/partmom.py @@ -15,6 +15,18 @@ app.config.from_object(__name__) def index(): return render_template('index.html') +@app.route('/xilinx/spartan3a/', methods=['GET']) +def xilinx_spartan3a(): + return render_template('grid.html', grid=xilinx.spartan3a_grid) + +@app.route('/xilinx/virtex6/', methods=['GET']) +def xilinx_virtex6(): + return render_template('grid.html', grid=xilinx.virtex6_grid) + +@app.route('/xilinx/virtex7/', methods=['GET']) +def xilinx_virtex7(): + return render_template('grid.html', grid=xilinx.virtex7_grid) + @app.route('/xilinx/artix7/', methods=['GET']) def xilinx_artix7(): return render_template('grid.html', grid=xilinx.artix7_grid) diff --git a/templates/index.html b/templates/index.html index 28d9400..55af3b3 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2,6 +2,9 @@ {% block content %} Part families: