Skip to content
Snippets Groups Projects
Commit 51b95ca1 authored by Hendrik Borras's avatar Hendrik Borras
Browse files

Applied new pre-commit-config to all files, potentially critical changes only

parent 3dc48c57
No related branches found
No related tags found
No related merge requests found
......@@ -41,4 +41,4 @@ module mux
assign out = in >> (sel*WIDTH);
endmodule
\ No newline at end of file
endmodule
This diff is collapsed.
......@@ -161,7 +161,7 @@ memstream
MEM_DEPTH,
MEM_WIDTH,
MEM_INIT,
//widths per stream
STRM0_WIDTH,
STRM1_WIDTH,
......@@ -169,7 +169,7 @@ memstream
STRM3_WIDTH,
STRM4_WIDTH,
STRM5_WIDTH,
//depths per stream
STRM0_DEPTH,
STRM1_DEPTH,
......@@ -177,7 +177,7 @@ memstream
STRM3_DEPTH,
STRM4_DEPTH,
STRM5_DEPTH,
//offsets for each stream
STRM0_OFFSET,
STRM1_OFFSET,
......@@ -203,32 +203,32 @@ dut
m_axis_0_tready,
m_axis_0_tvalid,
m_axis_0_tdata,
m_axis_1_afull,
m_axis_1_tready,
m_axis_1_tvalid,
m_axis_1_tdata,
m_axis_2_afull,
m_axis_2_tready,
m_axis_2_tvalid,
m_axis_2_tdata,
m_axis_3_afull,
m_axis_3_tready,
m_axis_3_tvalid,
m_axis_3_tdata,
m_axis_4_afull,
m_axis_4_tready,
m_axis_4_tvalid,
m_axis_4_tdata,
m_axis_5_afull,
m_axis_5_tready,
m_axis_5_tvalid,
m_axis_5_tdata
);
......@@ -277,7 +277,7 @@ initial begin
end
end
end
//check stream 2
begin
$display("Starting stream 2 checker");
......
......@@ -26,14 +26,14 @@
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import json
import warnings
from finn.analysis.fpgadataflow.floorplan_params import floorplan_params
from finn.custom_op.registry import getCustomOp
from finn.transformation.base import Transformation
from finn.util.basic import get_by_name
from finn.analysis.fpgadataflow.floorplan_params import floorplan_params
from finn.util.basic import make_build_dir
from finn.transformation.general import ApplyConfig
import warnings
import json
from finn.util.basic import get_by_name, make_build_dir
class Floorplan(Transformation):
......@@ -70,7 +70,7 @@ class Floorplan(Transformation):
try:
default_slr = self.user_floorplan["Defaults"]["slr"][0]
except:
except Exception:
default_slr = -1
# perform DWC and FIFO specific adjustments
......@@ -107,7 +107,8 @@ class Floorplan(Transformation):
warnings.warn(
str(unassigned_nodes)
+ " nodes have no entry in the provided floorplan,"
+ " SLR was set to " + str(default_slr)
+ " SLR was set to "
+ str(default_slr)
)
# partition id generation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment