{"action":"created","issue":{"url":"https://api.github.com/repos/freechipsproject/rocket-chip/issues/1152","repository_url":"https://api.github.com/repos/freechipsproject/rocket-chip","labels_url":"https://api.github.com/repos/freechipsproject/rocket-chip/issues/1152/labels{/name}","comments_url":"https://api.github.com/repos/freechipsproject/rocket-chip/issues/1152/comments","events_url":"https://api.github.com/repos/freechipsproject/rocket-chip/issues/1152/events","html_url":"https://github.com/freechipsproject/rocket-chip/issues/1152","id":281252151,"number":1152,"title":"A reset in 1-3 cycles does not reset the system","user":{"login":"pentin-as","id":30556064,"avatar_url":"https://avatars1.githubusercontent.com/u/30556064?v=4","gravatar_id":"","url":"https://api.github.com/users/pentin-as","html_url":"https://github.com/pentin-as","followers_url":"https://api.github.com/users/pentin-as/followers","following_url":"https://api.github.com/users/pentin-as/following{/other_user}","gists_url":"https://api.github.com/users/pentin-as/gists{/gist_id}","starred_url":"https://api.github.com/users/pentin-as/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pentin-as/subscriptions","organizations_url":"https://api.github.com/users/pentin-as/orgs","repos_url":"https://api.github.com/users/pentin-as/repos","events_url":"https://api.github.com/users/pentin-as/events{/privacy}","received_events_url":"https://api.github.com/users/pentin-as/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"yunsup","id":703957,"avatar_url":"https://avatars1.githubusercontent.com/u/703957?v=4","gravatar_id":"","url":"https://api.github.com/users/yunsup","html_url":"https://github.com/yunsup","followers_url":"https://api.github.com/users/yunsup/followers","following_url":"https://api.github.com/users/yunsup/following{/other_user}","gists_url":"https://api.github.com/users/yunsup/gists{/gist_id}","starred_url":"https://api.github.com/users/yunsup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yunsup/subscriptions","organizations_url":"https://api.github.com/users/yunsup/orgs","repos_url":"https://api.github.com/users/yunsup/repos","events_url":"https://api.github.com/users/yunsup/events{/privacy}","received_events_url":"https://api.github.com/users/yunsup/received_events","type":"User","site_admin":false},"assignees":[{"login":"yunsup","id":703957,"avatar_url":"https://avatars1.githubusercontent.com/u/703957?v=4","gravatar_id":"","url":"https://api.github.com/users/yunsup","html_url":"https://github.com/yunsup","followers_url":"https://api.github.com/users/yunsup/followers","following_url":"https://api.github.com/users/yunsup/following{/other_user}","gists_url":"https://api.github.com/users/yunsup/gists{/gist_id}","starred_url":"https://api.github.com/users/yunsup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yunsup/subscriptions","organizations_url":"https://api.github.com/users/yunsup/orgs","repos_url":"https://api.github.com/users/yunsup/repos","events_url":"https://api.github.com/users/yunsup/events{/privacy}","received_events_url":"https://api.github.com/users/yunsup/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2017-12-12T04:15:21Z","updated_at":"2017-12-13T12:36:56Z","closed_at":null,"author_association":"NONE","body":"![screenshot from 2017-12-12 08-51-18](https://user-images.githubusercontent.com/30556064/33867049-d91af6f4-df1b-11e7-9497-38e6369b16b8.png)\r\n\r\n![screenshot from 2017-12-12 09-07-42](https://user-images.githubusercontent.com/30556064/33867132-58e7afee-df1c-11e7-9e79-3010506bf363.png)\r\n\r\n![screenshot from 2017-12-12 09-10-15](https://user-images.githubusercontent.com/30556064/33867188-ae3dc348-df1c-11e7-9b29-7254880183e7.png)\r\n\r\nIn the picture, the signals req and resp in the frontend.\r\nAs you can see, the frontend seems to start executing from the start address, but the core immediately returns the PC value that was before the reset.\r\n\r\nA reset of 4 cycles works.\r\n\r\nrocket-chip: 5155eb60597581fd9933ad8b8f864b4416124776"},"comment":{"url":"https://api.github.com/repos/freechipsproject/rocket-chip/issues/comments/351378908","html_url":"https://github.com/freechipsproject/rocket-chip/issues/1152#issuecomment-351378908","issue_url":"https://api.github.com/repos/freechipsproject/rocket-chip/issues/1152","id":351378908,"user":{"login":"pentin-as","id":30556064,"avatar_url":"https://avatars1.githubusercontent.com/u/30556064?v=4","gravatar_id":"","url":"https://api.github.com/users/pentin-as","html_url":"https://github.com/pentin-as","followers_url":"https://api.github.com/users/pentin-as/followers","following_url":"https://api.github.com/users/pentin-as/following{/other_user}","gists_url":"https://api.github.com/users/pentin-as/gists{/gist_id}","starred_url":"https://api.github.com/users/pentin-as/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pentin-as/subscriptions","organizations_url":"https://api.github.com/users/pentin-as/orgs","repos_url":"https://api.github.com/users/pentin-as/repos","events_url":"https://api.github.com/users/pentin-as/events{/privacy}","received_events_url":"https://api.github.com/users/pentin-as/received_events","type":"User","site_admin":false},"created_at":"2017-12-13T12:36:56Z","updated_at":"2017-12-13T12:36:56Z","author_association":"NONE","body":"Hmm. The memcmp function does not compare information.\r\n\r\ntest dump:\r\n    80002168:\tfff54783          \tlbu\ta5,-1(a0)\r\n    8000216c:\tfff5c703          \tlbu\ta4,-1(a1)\r\n    80002170:\t00e79a63          \tbne\ta5,a4,80002184 <memcmp+0x74>\r\n...\r\n    80002184:\t40e7853b          \tsubw\ta0,a5,a4\r\n    80002188:\t00008067          \tret\r\n\r\nexecution:\r\nC0:      10314 [1] pc=[ffffe02168] W[r15=0000000000000000][1] R[r10=0000000000002001] R[r31=ffffffffffe03003] inst=[fff54783] DASM(fff54783)\r\nC0:      10315 [1] pc=[ffffe0216c] W[r14=00000000000000b3][1] R[r11=ffffffffffe02001] R[r31=ffffffffffe03003] inst=[fff5c703] DASM(fff5c703)\r\n...\r\nC0:      10317 [0] pc=[ffffe0216c] W[r 0=ffffffffffe02000][0] R[r11=ffffffffffe02000] R[r31=ffffffffffe03003] inst=[fff5c703] DASM(fff5c703)\r\nC0:      10318 [1] pc=[ffffe02170] W[r 0=0000000000000000][0] R[r15=0000000000000000] R[r14=00000000000000b3] inst=[00e79a63] DASM(00e79a63)\r\n...\r\nC0:      10341 [0] pc=[ffffe02170] W[r 0=0000000000000000][0] R[r15=0000000000000000] R[r14=00000000000000b3] inst=[00e79a63] DASM(00e79a63)\r\nC0:      10342 [1] pc=[ffffe02184] W[r10=ffffffffffffff4d][1] R[r15=0000000000000000] R[r14=00000000000000b3] inst=[40e7853b] DASM(40e7853b)\r\nC0:      10343 [1] pc=[ffffe02188] W[r 0=ffffffffffe0218c][1] R[r 1=ffffffffffe027a0] R[r 0=0000000000000000] inst=[00008067] DASM(00008067)\r\n...\r\nC0:      10346 [0] pc=[ffffe02188] W[r 0=ffffffffffe0218c][0] R[r 1=ffffffffffe027a0] R[r 0=0000000000000000] inst=[00008067] DASM(00008067)\r\n\r\nWhy can 0 be read from address 0x2001, and 0xb3 from 0xff..fe02001?\r\nWhy is there a note from the previous test?\r\nI will continue to analyze."}}
{"actor":{"display_login":"pentin-as"}}