Re: [BLACKBOX] Compliling...

From: Bernhard Treutwein <"Bernhard>
Date: Sun, 27 Feb 2011 17:37:38 +0000

----boundary-LibPST-iamunique-1243681368_-_-
Content-type: text/plain

Hi Walter,

just some wild guess for explanation:

Byte alignement of variables to word/longword boundaries

regards
    bernhard

----- Original Message -----
From: "Walter Gallegos" <waltergallegos{([at]})nowhere.xy
To: <BLACKBOX{([at]})nowhere.xy
Sent: Sunday, February 27, 2011 5:55 PM
Subject: [BLACKBOX] Compliling...


Dear users,

I need preprocessing several MPEG2-TS before use it into a VHDL
test-bench, so I write a very simple set of commands in BB1.6.

All work fine but after cleaning and reorder...

Take a look at the following sources versions and the corresponding
compiler report

Version 1:
...
r: TextModels.Reader; ch: CHAR;
buf: TextModels.Model; w: TextModels.Writer; Store: Stores.Operation;
b : ARRAY 2 OF CHAR;
...

compiling "PrivCmds" 508 0



Version 2:
...
r: TextModels.Reader; ch: CHAR; b : ARRAY 2 OF CHAR;
buf: TextModels.Model; w: TextModels.Writer; Store: Stores.Operation;
...

compiling "PrivCmds" 504 0

The change in variable declaration order in this case reduce the size.


Version 3:
...
r: TextModels.Reader; ch: CHAR;
buf: TextModels.Model; w: TextModels.Writer; (*s: Stores.Operation;*)
b : ARRAY 2 OF CHAR;
...

compiling "PrivCmds" 524 0

Remove an unused variable in this case increase the size


Task done, MPEG2-TS streams fully reformatted but I have not answers to
the compiler reports...

Walter

-- 
-----------------------------------------------------------
Programmable Logic & Software
Consultoría, Diseño, Entrenamiento.
Montevideo, Uruguay
EMAIL waltergallegos{([at]})nowhere.xy-----------------------------------------------------------
----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to 
LISTSERV{([at]})nowhere.xy----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1243681368_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZ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3Vic2Ny
aWJlLCBzZW5kIGEgbWVzc2FnZSB3aXRoIGJvZHkgIlNJR05PRkYgQkxBQ0tCT1giIHRvIExJU1RT
RVJWQExJU1RTLk9CRVJPTi5DSFxwYXINCn0=
----boundary-LibPST-iamunique-1243681368_-_---
Received on Sun Feb 27 2011 - 18:37:38 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:17 UTC