summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2016-10-31 18:09:58 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2016-10-31 18:09:58 (GMT)
commit03edc2bbe9e27949d9d8ba336d5eb71fadc00a3f (patch)
tree16816c62ad8d93da516b05c29cb4e4ce15b20979
parentb5018bba2d62efa936c96daa2917d5688c1555a1 (diff)
downloadabc80-03edc2bbe9e27949d9d8ba336d5eb71fadc00a3f.zip
abc80-03edc2bbe9e27949d9d8ba336d5eb71fadc00a3f.tar.gz
abc80-03edc2bbe9e27949d9d8ba336d5eb71fadc00a3f.tar.bz2
abc80-03edc2bbe9e27949d9d8ba336d5eb71fadc00a3f.tar.xz
sddisk.v: remove expression that turns into a latch
Fix an expression that turns into a latch; the FPGA has flipflops, not latches. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--sddisk.v3
1 files changed, 1 insertions, 2 deletions
diff --git a/sddisk.v b/sddisk.v
index 2b79715..0e4d43e 100644
--- a/sddisk.v
+++ b/sddisk.v
@@ -255,8 +255,7 @@ module sdcontroller(
read_flag <= 1'b0;
main_status <= 8'h00;
aux_status <= 8'h00;
- if ( ~reset_n )
- hard_reset <= 1'b1;
+ hard_reset <= ~reset_n;
end
else
begin