www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/09/15/08:24:24

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=m0n5t3r.info; s=m0n5t3r;
h=subject:to:references:from:message-id:date:user-agent:mime-version
:in-reply-to:content-type;
bh=MG9QpjIoYJSByDldL15aU4LqTPi6q1gC0DICFrERyE8=;
b=RCbMCDSGPS8gEb2f/cJOduh7T0heL+9vxnSvn/pSEkqPRL6IQymWfLh+tWLoZq187Z
ba2JEZR7Fz7g/WT0Qv9vvGY5C1iE6XtHtvivrWjy6Z3PTr0ES8vlQCtQT4IOZNjX3T8N
Hpb+cNlGr1lMR1UARM/oacm4YkCMMMNYYFWFU=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:subject:to:references:from:message-id:date
:user-agent:mime-version:in-reply-to:content-type;
bh=MG9QpjIoYJSByDldL15aU4LqTPi6q1gC0DICFrERyE8=;
b=brVE+iZeQVZvBGSp4UvIO4JCaY5HfgwJVBSHzImf6Mfe7Dmf7qtbEmiJmW/0WU501z
+LmwDPCDOF42cqBbvluDMtpcEPQaGF2THJDNxFJmcY9EP79tWYakSjPPK4wzyCfifx8t
XxYzX/fbrDQ4gLmUAfapXKx0lyJUhxnvZPP6F9ka2QYubYVW8dL41vL9SpLo3OCQhrS2
22mvVkleM7ZELY0fOftle6eViNJVbbr4f4usgvhhBpXT0O3irUNEzwaZtHvpTa7Ro2M2
SFCFo60DEGxZhnOuf/7Qoi1EXjNpApBz4A9EruHevbFtTYeN8R6govwe05j3urBgW3s4
KoaA==
X-Gm-Message-State: ALoCoQktdbvW5R9DyEwakD2CXE6zU5/opBhAyuRNx+WVL84d0mPbwlIsDtxc4oABbndhYgjU4CUx
X-Received: by 10.180.23.71 with SMTP id k7mr6766200wif.11.1442319847805;
Tue, 15 Sep 2015 05:24:07 -0700 (PDT)
Subject: Re: [geda-user] New experimental netlist features
To: geda-user AT delorie DOT com
References: <alpine DOT DEB DOT 2 DOT 11 DOT 1509031356150 DOT 13201 AT nimbus>
<msi77b$6rr$1 AT ger DOT gmane DOT org> <alpine DOT DEB DOT 2 DOT 00 DOT 1509082036590 DOT 3066 AT lichen>
<20150908233235 DOT b6cde3ec6c40bf235a7a1df8 AT gmail DOT com>
<201509082144 DOT t88LiOXW007712 AT envy DOT delorie DOT com>
From: "Sabin Iacob (iacobs AT m0n5t3r DOT info) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
X-Enigmail-Draft-Status: N1110
Message-ID: <55F80DE6.2080202@m0n5t3r.info>
Date: Tue, 15 Sep 2015 15:24:06 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
Thunderbird/38.2.0
MIME-Version: 1.0
In-Reply-To: <201509082144.t88LiOXW007712@envy.delorie.com>
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--aG12FJK3NscCOt11KrvaLkC1fxhd6B5bc
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 09/09/2015 12:44 AM, DJ Delorie wrote:
>> For C/C++ switch case "0 ... 7" could be used for ranges
> I think that's a GNU extension, though, and C and C++ differed in
> syntax.  Not sure if they resolved that (let's hope so).
>
> In verilog, isn't the :N syntax used to denote the signal's *width* ?
> I.e. 0:8 would be the lower byte, 8:8 would be the upper byte, etc.
> If so, using the same syntax for a different meaning might confuse
> people.

In Verilog (at least the one I am somewhat familiar with) buses are
defined like "wire [7:0] thing", and subsets of them are accessed like
"thing[7]" (single value) or "thing[3:0]" (the lower 4 bits), so it
would make sense to define pin ranges like D[0:15]

funny thing, I typed D[0..15] at first, too much bash written lately :D


--aG12FJK3NscCOt11KrvaLkC1fxhd6B5bc
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJV+A3mAAoJEIIekQf3ltoLKF8P/ickvERkSuir2olyoYGDPJ0p
kiy3Kcfkkh8w0mM75nFIwQXK0W1vh5YGLvagwa8rRgWU+icIC1Dcv4+PQidB8YKc
7r3YHPxGICD9ECBqEKJv2jKFaehyZTaVzseELVMjALnfg5ObS8XaGTh2palUtjYb
SN9N8Qg/IvrK8QUxX581GgY4lBX9/ZfYh8dKvqyIkV44bjfDJvXyIEDymI89Oazu
jrOdBJM87VF9M1iFrk8lLRdix1Efe+a3BgBBB8xyySRsQIfbWEcv/SVsdh+JiErI
am18GyBvUJxPbeyGpP1TLfYgxzlKTLHzkl9d4m8wsTPXRkltJRqQvWr97zdMjtD7
3mGeMPS8LXxrta2Ymyd5EGhSQTCE2a3sKzD0zM49/1rcFf9DD8bRjcYXZbHwBtDW
W+fmGvnlfdLZ4J3AxuIZDUeFaxfK7TRNGvgHWufaJzUQYJjKg1vn3WylmgCInCYE
cDDpqloepGyBW+W0M3xPIhFb8CR374uxLzppFnjKTQwarfm5I0WrGk1oc8rE3CQn
QijWctReC1ajDsAZTV5RbmDJg5nqr9ThnSl9JG+BbSwbyZAiBh9vR48c5zXWPL2v
HVeSwsbPddlgz+41NtNmkegv8b5zAwQ3VzyDb2h/o7iipLzqA2J9/T8fBAI3IMFo
GzXEXHzo/fS3jn6i2iBx
=ngaK
-----END PGP SIGNATURE-----

--aG12FJK3NscCOt11KrvaLkC1fxhd6B5bc--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019