Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"You are WRONG, you ol' brass-breasted fascist poop!" -- Bloom County


devel / comp.lang.verilog / Re: Use of Both Posedge Clk and Negedge Clock

SubjectAuthor
* Use of Both Posedge Clk and Negedge Clocke liu
`- Use of Both Posedge Clk and Negedge Clockgnuarm.del...@gmail.com

1
Re: Use of Both Posedge Clk and Negedge Clock

<20035637-d96e-4ddf-a5f3-c58d884044b3n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3&group=comp.lang.verilog#3

  copy link   Newsgroups: comp.lang.verilog
X-Received: by 2002:ac8:5848:0:b0:400:823e:58ad with SMTP id h8-20020ac85848000000b00400823e58admr454280qth.6.1687573197700;
Fri, 23 Jun 2023 19:19:57 -0700 (PDT)
X-Received: by 2002:aca:f009:0:b0:394:460:b647 with SMTP id
o9-20020acaf009000000b003940460b647mr3762724oih.7.1687573197364; Fri, 23 Jun
2023 19:19:57 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.verilog
Date: Fri, 23 Jun 2023 19:19:57 -0700 (PDT)
In-Reply-To: <1117185648.260102.127630@g14g2000cwa.googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=36.227.194.20; posting-account=l2f6owoAAADIpfz9tvfNsILn3CouG5Q7
NNTP-Posting-Host: 36.227.194.20
References: <1117009733.771685.33400@g47g2000cwa.googlegroups.com>
<1117059880.182072.195710@g14g2000cwa.googlegroups.com> <1117152046.680027.140360@o13g2000cwo.googlegroups.com>
<pwvle.23526$Ot6.1328549@news20.bellglobal.com> <1117185648.260102.127630@g14g2000cwa.googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <20035637-d96e-4ddf-a5f3-c58d884044b3n@googlegroups.com>
Subject: Re: Use of Both Posedge Clk and Negedge Clock
From: liue248@gmail.com (e liu)
Injection-Date: Sat, 24 Jun 2023 02:19:57 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1987
 by: e liu - Sat, 24 Jun 2023 02:19 UTC

ppo...@gmail.com 在 2005年5月27日 星期五下午5:20:48 [UTC+8] 的信中寫道:
> using posedge and negedge clk , in fact, is equal to always @ ( clk or
> negedge reset )
I am facing the same situation when writing a FSM, and I wonder if I can seperate the posedge and nededge always.
For example:
always@(posedge clk or posedge rst) case(current_state) case1: .... case2: ....... case3:.......
always@(nededge clk or posedge rst) case(current_state) case1: .... case3:........

Re: Use of Both Posedge Clk and Negedge Clock

<7e815e32-ab61-4256-8d62-aeae9e812d67n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=4&group=comp.lang.verilog#4

  copy link   Newsgroups: comp.lang.verilog
X-Received: by 2002:a37:9386:0:b0:762:42b5:8f08 with SMTP id v128-20020a379386000000b0076242b58f08mr3239519qkd.13.1687589058997;
Fri, 23 Jun 2023 23:44:18 -0700 (PDT)
X-Received: by 2002:a05:6870:c786:b0:1a6:8071:a46d with SMTP id
dy6-20020a056870c78600b001a68071a46dmr4500394oab.0.1687589058576; Fri, 23 Jun
2023 23:44:18 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.verilog
Date: Fri, 23 Jun 2023 23:44:18 -0700 (PDT)
In-Reply-To: <20035637-d96e-4ddf-a5f3-c58d884044b3n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=65.207.89.54; posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 65.207.89.54
References: <1117009733.771685.33400@g47g2000cwa.googlegroups.com>
<1117059880.182072.195710@g14g2000cwa.googlegroups.com> <1117152046.680027.140360@o13g2000cwo.googlegroups.com>
<pwvle.23526$Ot6.1328549@news20.bellglobal.com> <1117185648.260102.127630@g14g2000cwa.googlegroups.com>
<20035637-d96e-4ddf-a5f3-c58d884044b3n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7e815e32-ab61-4256-8d62-aeae9e812d67n@googlegroups.com>
Subject: Re: Use of Both Posedge Clk and Negedge Clock
From: gnuarm.deletethisbit@gmail.com (gnuarm.del...@gmail.com)
Injection-Date: Sat, 24 Jun 2023 06:44:18 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: gnuarm.del...@gmail. - Sat, 24 Jun 2023 06:44 UTC

On Friday, June 23, 2023 at 10:19:59 PM UTC-4, e liu wrote:
> ppo...@gmail.com 在 2005年5月27日 星期五下午5:20:48 [UTC+8] 的信中寫道:
> > using posedge and negedge clk , in fact, is equal to always @ ( clk or
> > negedge reset )
> I am facing the same situation when writing a FSM, and I wonder if I can seperate the posedge and nededge always.
> For example:
> always@(posedge clk or posedge rst) case(current_state) case1: .... case2: ...... case3:.......
> always@(nededge clk or posedge rst) case(current_state) case1: .... case3:.......

Stop thinking in terms of the code. Think in terms of what hardware you expect to have generated. Then describe the actions of that hardware, and the tools will follow your instructions. It's call a Hardware Description Language for a reason... "HARDWARE DESCRIPTION". So, describe the hardware you want built. If you don't know what that hardware is, how will the tools know???

--

Rick C.

- Get 1,000 miles of free Supercharging
- Tesla referral code - https://ts.la/richard11209


devel / comp.lang.verilog / Re: Use of Both Posedge Clk and Negedge Clock

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor